package com.cyt.website.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.website.model.po.WebsiteApplicationCategory;
import com.cyt.website.model.vo.WebsiteApplicationCategoryVo;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;

import java.util.List;

/**
 * 官网案例分类关联-官网案例分类关联Service层接口类
 *
 * @author congcong tao
 * @date 2019-8-13 9:50:01
 */
public interface WebsiteApplicationCategoryService extends BaseService<WebsiteApplicationCategory> {

    /**
     * 分页查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @param pageNum 分页数
     * @param pageSize 每页显示条数
     * @return ReturnResult
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    ReturnResult findPage(WebsiteApplicationCategoryVo websiteApplicationCategoryVo, int pageNum, int pageSize);

    /**
     * 分页查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @param pageNum 分页数
     * @param pageSize 每页显示条数
     * @return ReturnResult
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    ReturnResult findVoPage(WebsiteApplicationCategoryVo websiteApplicationCategoryVo, int pageNum, int pageSize);

    /**
     * list查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @return List<WebsiteApplicationCategory>
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    List<WebsiteApplicationCategory> findList(WebsiteApplicationCategoryVo websiteApplicationCategoryVo);

    /**
     * list查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @return List<WebsiteApplicationCategoryVo>
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    List<WebsiteApplicationCategoryVo> findVoList(WebsiteApplicationCategoryVo websiteApplicationCategoryVo);

    /**
     * 单个对象查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @return WebsiteApplicationCategory
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    WebsiteApplicationCategory findOne(WebsiteApplicationCategoryVo websiteApplicationCategoryVo);

    /**
     * 单个对象查询
     *
     * @param websiteApplicationCategoryVo 接受参数对象
     * @return WebsiteApplicationCategoryVo
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    WebsiteApplicationCategoryVo findVoOne(WebsiteApplicationCategoryVo websiteApplicationCategoryVo);

    /**
     * 添加或更新
     *
     * @param websiteApplicationCategoryVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    ReturnResult addOrUpdate(WebsiteApplicationCategoryVo websiteApplicationCategoryVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param websiteApplicationCategoryVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    ReturnResult remove(WebsiteApplicationCategoryVo websiteApplicationCategoryVo, SysUser sysUser);

    /**
     * 根据条件物理删除
     *
     * @param websiteApplicationCategoryVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author congcong tao
     * @date 2019-8-13 9:50:01
     */
    ReturnResult delete(WebsiteApplicationCategoryVo websiteApplicationCategoryVo, SysUser sysUser);

    /**
     * 批量保存
     * @param applicationId
     * @param categoryIds
     * @param sysUser
     * @author congcong tao
     * @date 2019/8/14 11:15
     */
    ReturnResult batchSave(String applicationId, String categoryIds, SysUser sysUser);
}